Implemented UserNameValidationRule.