Fixed the checkRules in the create user page.