Node nPolicy = ((JackElement)element).getNode().getNode("rep:policy");
if (nPolicy != null) {
for (NodeIterator ni = nPolicy.getNodes();ni.hasNext();) {
Node child = (Node) ni.next();
if ("rep:GrantACE".equals(child.getPrimaryNodeType().getName())) {
MutableElement p = new MutableElement(this);
p.getMetaDefinitions().add(new CaoMetaDefinition(p.getMetadata(), CaoPolicy.PRINCIPAL, TYPE.ELEMENT, null, 0));
p.getMetaDefinitions().add(new CaoMetaDefinition(p.getMetadata(), RULE, TYPE.STRING, null, 256,CaoPolicy.CATEGORY_RIGHT));
CaoWritableElement pw = p.getWritableNode();
String principal = child.getProperty("rep:principalName").getString();
if (child.hasProperty("rep:glob"))
principal+= " at " + child.getProperty("rep:glob").getString();
pw.setString(CaoPolicy.PRINCIPAL,principal);