code: private GraphMLDecorator getGraphMLDecorator(Result<?> result) {
          String graphMLDecorator = result.getRule().getReport().getProperties().getProperty(GRAPHML_DECORATOR);
          Class<? extends GraphMLDecorator> decoratorClass;
          if (graphMLDecorator != null) {
              decoratorClass = classHelper.getType(graphMLDecorator);
          } else {
              decoratorClass = defaultDecoratorClass;
          }
          return classHelper.createInstance(decoratorClass);
      }
docs: Creates an instance of the select {@link GraphMLDecorator}.
  
  @param result The rule result.
  @return The {@link GraphMLDecorator}.