Create password validation directives