Add getRules() and getTokens() methods. Fix an issue when writing a partial rule. And finally, update exception message by adding grammar filename.
Add getRules() and getTokens() methods. Fix an issue when writing a partial rule. And finally, update exception message by adding grammar filename.

Metalaka/Central,vcgato29/Central,Grummfy/Central,Grummfy/Central,Metalaka/Central,vcgato29/Central