Remove, rule, device, variable from group if it gets deleted