1. A method comprising: collecting an activation statistic when a rule is activated by a rule engine in an execution environment; collecting a firing statistic when a rule is fired; collecting a number of times a goal in a condition of the rule was matched and a number of times the rule was fired, wherein the rule includes a plurality of goals, and wherein at least one goal in the plurality of goals comprises an end goal that, upon completion, results in termination of rule processing; storing at least the activation statistic and the firing statistic in a rule history of rule statistics once processing by the rule engine is complete; and assigning a unique agent identifier to each agent, wherein the unique agent identifier is known to the agent and an originator of the agent, wherein the unique agent identifier of the agent is associated with a goal to be completed by the agent, and wherein the agent further includes a subset of previously completed goals in the execution environment.