validation rules for rep