fix for rules not existing