code: function Ruleset(rules, composite) {
    if (!(this instanceof Ruleset)) {
      return new Ruleset(rules, composite);
    }
    this.composite = composite || 'all';
    this.rules = rules || [];
  }
docs: Construct a new ruleset