Finished full stack, lots of flacky stuff, controller and lots of
variables need to be relooked.
Finished first version of nested rules