Changed rule_context to have a separate success and failed state, only change when state flips, no more ever increasing counters