Impl: g1_rule_ids() and rule()
AST: describe() method, factorized _init()