code: def skip_signatures_and_duplicates_concat_well_known_metadata(cls, default_dup_action=None,
                                                                  additional_rules=None):
      
      default_dup_action = Duplicate.validate_action(default_dup_action or Duplicate.SKIP)
      additional_rules = assert_list(additional_rules,
                                     expected_type=(Duplicate, Skip))
  
      rules = [Skip(r'^META-INF/[^/]+\.SF$'),  # signature file
               Skip(r'^META-INF/[^/]+\.DSA$'),  # default signature alg. file
               Skip(r'^META-INF/[^/]+\.RSA$'),  # default signature alg. file
               Skip(r'^META-INF/INDEX.LIST$'),  # interferes with Class-Path: see man jar for i option
               Duplicate(r'^META-INF/services/', Duplicate.CONCAT_TEXT)]  # 1 svc fqcn per line
  
      return JarRules(rules=rules + additional_rules, default_dup_action=default_dup_action)
docs: Produces a rule set useful in many deploy jar creation contexts.
  
      The rule set skips duplicate entries by default, retaining the 1st encountered.  In addition it
      has the following special handling:
  
      - jar signature metadata is dropped
      - jar indexing files INDEX.LIST are dropped
      - ``java.util.ServiceLoader`` provider-configuration files are concatenated in the order
        encountered
  
      :param default_dup_action: An optional default action to take for duplicates.  Defaults to
        `Duplicate.SKIP` if not specified.
      :param additional_rules: Optionally one or more jar rules to add to those described above.
      :returns: JarRules