Hey Elizabeth,
Try this for your expression: $YourObject/EnumerationAttribute = YourModuleName.EnumerationName.value
It can not match on string. But it can match on your enum. Just a bit of a different syntax.
Basically it's both of the things you tried, but merged together.