Fixed circular reference bugs in the Rule interfaces.