Error with ParameterFilterElement.ByRules

Hey Guys! Im currently working on a filter that turns an wall red if the type name not matches with a shared parameter that i made.

In the rules im trying to see if my shared parameter string is in the name of the type of the wall. but the ParameterFilterElement.ByRules gives a error that im using a parameter that is not in the category. but im using the Type parameter…

Am i overlooking something?

Thank for the help!