Removed unreachable rules and unused tokens