Bake a rules builder

Generating the rules checker. Refs https://github.com/cakephp/cakephp/pull/5296
Indeed it does. Do you have any other ideas?