In Algorithm 1, we explicitly illustrate the steps needed for our concept. We show the action calls and repair routine invocations associated with a rule and illustrate the required loops and decisions. Please note that function update_frequencies(E,res) serves to update the frequencies and subsequently recompute the reliability values for all the individual rules as outlined above. It has two arguments: a list E containing those rules that have been executed for plan π, and res encoding π's success.