Failure with dynamic icons?

I wasnt a home.. This is the rule:

The error says there is a missing ‘)’ at the end.. But I dont think thats the actual error.

EDIT.. I added an ) at the end. And now it seems to work just fine. Including the icons.