refactor WorkingMemoryEvent* to RuleRuntimeEvent*