Handle errors when rules are beeing deleted