added any boundaryrule policy
removed unused class BeginSymbol
fixed bug None value for leftpos and rightpos
added missing import
Unknown symbol is a terminal symbol
general refactoring and added unk and null support
new partial grammar list