Found some of the simpler logic struggling to get out.
Working on rule names.