Set rule variable, because following conditions test it.
Standardize all ACF rules before pushing them to filter.allowedContent.

Also: function and regexp based validators have been dropped.
Merge branch 't/10191' into major