code: public static Rule createDefaultPointRule() {
          Graphic graphic = sf.createDefaultGraphic();
          Mark circleMark = sf.getCircleMark();
          circleMark.setFill(sf.createFill(ff.literal("#" + Integer.toHexString(Color.RED.getRGB() & 0xffffff))));
          circleMark.setStroke(sf.createStroke(ff.literal("#" + Integer.toHexString(Color.BLACK.getRGB() & 0xffffff)),
                  ff.literal(DEFAULT_WIDTH)));
          graphic.graphicalSymbols().clear();
          graphic.graphicalSymbols().add(circleMark);
          graphic.setSize(ff.literal(DEFAULT_SIZE));
  
          PointSymbolizer pointSymbolizer = sf.createPointSymbolizer();
          Rule rule = sf.createRule();
          rule.setName("New rule");
          rule.symbolizers().add(pointSymbolizer);
  
          pointSymbolizer.setGraphic(graphic);
          return rule;
      }
docs: Creates a default {@link Rule} for a point.
  
  @return the default rule.