code: private GRule getRule(int number)
      {
          for (GRule rule : rules)
          {
              if (number == rule.getNumber())
              {
                  return rule;
              }
          }
          return null;
      }
docs: /*
  public final void print(Appendable a) throws IOException
  {
  AppendablePrinter out = new AppendablePrinter(a);
  out.println("Rules:");
  printRules(out);
  out.println("First map for non-terminals:");
  printFirstMapForNonterminals(out);
  out.println();
  out.println("Closure for non-terminals:");
  printClosureForNonterminals(out);
  out.println();
  out.println("Nullable non-terminals:");
  printNullableNonterminals(out);
  out.println();
  printStates(out);
  out.println("LA STATES");
  out.println();
  printLaStates(out);
  }