code: public static RuleInfo createRule(LayerType type, FeatureStyleInfo featureStyle) {
  		SymbolizerTypeInfo symbolizer = createSymbolizer(type, featureStyle);
  		RuleInfo rule = createRule(featureStyle.getName(), featureStyle.getName(), symbolizer);
  		return rule;
  	}
docs: Create a non-filtered rule from a feature style.
  
  @param type the layer type
  @param featureStyle the style
  @return the rule