Changed Event to EventSet and Rule to RuleSet. Made Machine->runTo() work.