Graph-based rule implementation work in progress.
Proof of concept of attribute propagation.
Very sloppy, needs a lot of cleanup.