Adds the validation mode support at the field and rule level