typo in pattern compiler
fixed interfaces for Events/Patterns, added Rule interface

models are up and running again