docs: function quantified(rule, min, max) {
          if (min === void 0) { min = 0; }
          if (max === void 0) { max = Infinity; }
          if (min === 0 && max === 1)
              return new Optional(RuleTypeToRule(rule));
          else
              return new Quantified(RuleTypeToRule(rule), min, max);
      }