code: public static Rule createDefaultLineRule() {
          LineSymbolizer lineSymbolizer = sf.createLineSymbolizer();
          lineSymbolizer.setStroke(createDefaultStroke());
  
          Rule rule = sf.createRule();
          rule.setName("New rule");
          rule.symbolizers().add(lineSymbolizer);
  
          return rule;
      }
docs: Creates a default {@link Rule} for a line.
  
  @return the default rule.