Are you trying to define that outside of any rule?
It wouldn’t work the way you want, even if it worked. It would be evaluated once only at xxx.rules file load time.
its inside a rule but i found that i‘ve to put it „deeper“ in the rule. I also have a function in that rule. So i put it in die function. Now the message is gone.