updated the rules engine and allowed an event to be raised