Bake a rules builder

Generating the rules checker. Refs https://github.com/cakephp/cakephp/pull/5296
No :(

An empty post is still a post and should be validated.