Bake a rules builder

Generating the rules checker. Refs https://github.com/cakephp/cakephp/pull/5296
should this be `array()` instead? According to the doc block