add rules to user model