more experimentation. finally feel like i'm on to something..
tightened up the conceps from earlier

rule-matching works

next:
* prereq analysis, building, scanning