Editrule

fixed bugs in rule editing.  sped up tests
these notifications were just for time measurements.  left them in because I'm expecting to do more optimizations soon.