Get root rule.
https://github.com/antlr/grammars-v4/issues/2097
https://stackoverflow.com/questions/29879626/antlr4-how-to-find-the-root-rules-in-a-gramar-which-maybe-used-to-find-the-star
See Implementation
Get root rule.