code: public RuleWrapper getFirstRule() {
          if (featureTypeStylesWrapperList.size() > 0) {
              FeatureTypeStyleWrapper featureTypeStyleWrapper = featureTypeStylesWrapperList.get(0);
              List<RuleWrapper> rulesWrapperList = featureTypeStyleWrapper.getRulesWrapperList();
              if (rulesWrapperList.size() > 0) {
                  RuleWrapper ruleWrapper = rulesWrapperList.get(0);
                  return ruleWrapper;
              }
          }
          return null;
      }
docs: Facility to get the first rule, if available.
  
  @return the first rule or <code>null</code>.