code: function find_rule_global(gender, name, nametype_rulesets, features) {
          if (!features) features = {};
          var tags = [];
          for (var key in features) {
              if (features.hasOwnProperty(key)) tags.push(key);
          }
          if (nametype_rulesets.exceptions) {
              var rule = find_rule_local(
                  gender, name, nametype_rulesets.exceptions, true, tags);
              if (rule) return rule;
          }
          return find_rule_local(
              gender, name, nametype_rulesets.suffixes, false, tags);
      }
docs: Find groups of rules in exceptions or suffixes of given nametype