Fixed bug that caused parser to crash when .parse() was called on parser with no rules