code: public boolean removeNamedGroupingPolicy(String ptype, List<String> params) {
          boolean ruleRemoved = removePolicy("g", ptype, params);
  
          if (autoBuildRoleLinks) {
              buildRoleLinks();
          }
          return ruleRemoved;
      }
docs: removeNamedGroupingPolicy removes a role inheritance rule from the current named policy.
  
  @param ptype the policy type, can be "g", "g2", "g3", ..
  @param params the "g" policy rule.
  @return succeeds or not.