func (g *Grammar) RuleLength(rule_id RuleID) int { return int(C.marpa_g_rule_length(g.handle, C.Marpa_Rule_ID(rule_id))) }
func (g Grammar) RuleLength(sym_id RuleID) int { return int(C.marpa_g_rule_length(g.grammar, sym_id.id)) }