Editrule

fixed bugs in rule editing.  sped up tests
the lack of output cards was responsible for making the tests ridiculously slow