Logic Of Rules??

Hi.I have a question about how a Firewall Rule means.For example when we make the following rule:
Block TCP or UDP In/Out From Not in [Loopback Zone] To Not In [Loopback Zone] …
We have two sides:1-From 2-To
My question is how this rule works:By [AND] or By [OR]:
From [AND] To
OR
From [OR] To
In other words:
Block TCP or UDP In/Out From Not in [Loopback Zone] [AND] To Not In [Loopback Zone] …
OR
Block TCP or UDP In/Out From Not in [Loopback Zone] [OR] To Not In [Loopback Zone] …
? ? ? ?

It is AND. All conditions of the rule need to match for the rule to take affect.

Edit: Which is why you should not combine an In/Out rule when defining source destination ports/addresses. I’m guessing you’re trying to create a block rule like this:
block out where source address is any and destination address is not within network zone.
block in where source address is not within network zone and destination address is any.

But when you use in/out like the one you provided it is treated like this:
block where protocol is tcp or udp outgoing where source addr. is not within network zone AND destination addr. is not within network zone.
block where protocol is tcp or udp incoming where source addr. is not within network zone AND destination addr. is not within network zone.

OK.Thanks for your reply.