Added validator for customize rule-form