appendRule

Adds a validation rule for the field.