Fixed rule execution errors