Smarter before/after rules with date_format
refactor - add getRule
fix return docblock
Merge branch 'feature/valid-before-after-format' of https://github.com/anlutro-pull-requests/framework into anlutro-pull-requests-feature/valid-before-after-format
Working on date format and validation.