Fixed iteration problems

Iterating problem was fixed in the ruleInterpretation constructor