ASTMatcher: Rework wildcard so that it only works on the pattern side