Through trial and error, I’ve come to the conclusion that it’s often better to put format rule conditions in virtual columns. One advantage is that it can help you eliminate the following kind of warnings:
See . . .
I’ve also found situations in which placing the condition in a virtual column eliminated inconsistencies in implementation (that is, working sometimes but not always):
Finally, here’s one more example of a situation where a virtual column solved a format rule issue: