public void removeRules(IXmlBBase obj) { int idx = indexOfRules(obj); if (idx >= 0) { deleteRules(idx); NotifyControllers(null); } }