adding a string or callable validation rule
action strings now accept closures (Closes #395)