As stated in the previous post, the rule evaluation is always complete, and the last match is the one that applies.
Sometimes it is necessary to skip that entire evaluation, and for that purpose the keyword quick is available. If a rule includes it, its policy is applied and the rest of the evaluation is interrupted.

pass quick inet proto tcp to 192.168.1.1 port ssh
block inet proto tcp to port ssh

In this example, theq quick directive causes traffic to 192.168.1.1.1 on port 22 to be allowed. Without it, full evaluation would cause it to be disallowed.