Digital Versus Physical When triggering a rule

Hi there

I have just posted a suggestion here and trying to improve with use of Private Boolean.