How to find position of null in rule?

maybe we can combine it with this topic:

Not really the same but goes in the same direction.

How to debug rules?
How to identify exceptions?

I’m interesting is this too.