setRule

fun setRule(rule: VGSInfoRule)

Set a validation rule for the field.