}
    public void removeAccessRules(Collection accessrules){      Iterator iter = accessrules.iterator();      while(iter.hasNext()){        String accessrule = (String) iter.next();                  Iterator i =  getAccessRules().iterator();        while(i.hasNext()){          AccessRulesDataLocal ar = (AccessRulesDataLocal) i.next();          if(ar.getAccessRuleObject().getAccessRule().equals(accessrule)){            getAccessRules().remove(ar);            try{              ar.remove();            }catch(RemoveException e){ throw new EJBException(e.getMessage());}            break;          }        }      }      } // removeAccessRules