public int indexOfRules(IXmlBBase el) { return ((System.Collections.IList) allRules()).IndexOf (el); }