Offline Validation Rules are not working when using the $UserRole.Name to compare with another field.
UserRole records are not available on the offline device.
Ensure a UserRole VMOC is active for the user.
Note: UserRole.Id functions in offline validation rules without an active UserRole VMOC.
CRM Help: Offline Validation Rules