code: function Extend(superGrammar, name, body) {
    this.superGrammar = superGrammar;
    this.name = name;
    this.body = body;
    var origBody = superGrammar.rules[name].body;
    this.terms = [body, origBody];
  }
docs: Extend is an implementation detail of rule extension