Finally can save / display rules again! Needs some polishing, but
getting there. Has to fall back on actual files for the rule data model
sub-classes, but it's probably better this way anyway. Principle of
least surprise, etc.