Fixed rule deletion