Bake a rules builder

Generating the rules checker. Refs https://github.com/cakephp/cakephp/pull/5296
I'm guessing updating newEntity() to ignore empty data didn't work out?