added the AnySymbolOfClass Symbol to be used as a place holder for classes of Symbols, and also fixed up the matching logic in Terminal