New Validator rules format + tests. (#5127)
Validator array rule extraction order
add getter and setter
fix method name, add method 'setValueNames'

'set' -> 'add'
fix typo
Update Validator.php
Merge pull request #5199 from overtrue/4.2

[4.2] add setter and getter for Validatior
Cleaning up a few methods.
Merge branch '4.2' of https://github.com/naquad/framework into naquad-4.2
Cleaning up some code.