code: public List<List<String>> getFilteredNamedGroupingPolicy(String ptype, int fieldIndex, String... fieldValues) {
          return model.getFilteredPolicy("g", ptype, fieldIndex, fieldValues);
      }
docs: getFilteredNamedGroupingPolicy gets all the role inheritance rules in the policy, field filters can be specified.
  
  @param ptype the policy type, can be "g", "g2", "g3", ..
  @param fieldIndex the policy rule's start index to be matched.
  @param fieldValues the field values to be matched, value ""
  means not to match this field.
  @return the filtered "g" policy rules of the specified ptype.