[PasswordRule] Add logic.
[CreditCard] Remove redundant `static` modifier.