Some code help - Complex Boolean Logic

Hi, look at this thread/answer:

There are two or three typos, but still shows great examples how to use conditions with ‘skip rules’ option.