Add PasswordRulesBuilder and tests