fix rules for employee model