code: private Node newNode(final Node parent, final Attributes attributes) throws RepositoryException {
  
          Node parentNode;
          if (parent == null) {
              parentNode = this.session.getRootNode();
          } else {
              parentNode = parent;
          }
          // TODO handle path parameters
  
          final String name = attributes.getValue("name");
          final String primaryType = attributes.getValue("primaryType");
  
          LOG.info("Node {} adding child node {}(type={})", parentNode.getPath(), name, primaryType);
          return parentNode.addNode(name, primaryType);
      }
docs: Creates the {@link Node} in the repository from the given attributes.
  
  @param parent
  inkstand.rules.config - the absolute path to your configuration file for the cluster node inkstand.rules.home
  - the absolute path to the working directory of the cluster node
  <p/>
  More on Jackrabbit configuration can be found on the Apache Jackrabbit project page. the parent node of
  the node to be created. If this is null, a root-level node will be created.
  @param attributes
  the attributes containing the basic information required to create the node
  
  @return the newly creates {@link Node}
  
  @throws RepositoryException
  if the new node can not be created