code: public boolean removeFilteredNamedGroupingPolicy(String ptype, int fieldIndex, String... fieldValues) {
          boolean ruleRemoved = removeFilteredPolicy("g", ptype, fieldIndex, fieldValues);
  
          if (autoBuildRoleLinks) {
              buildRoleLinks();
          }
          return ruleRemoved;
      }
docs: removeFilteredNamedGroupingPolicy removes a role inheritance rule from the current named 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 succeeds or not.