New Validator rules format + tests. (#5127)