If no entries have been found, the result is an empty array.
If no filtering was applied and therefore all ids shall be reported as
valid, the return value of NULL is allowed.
The OR filter rule has an embedded shortcut for the first rule that
returns "null". When this happens, no further child rules will get
evaluated, as the result set can not expand any further.
Note: when "stopAfterMatch" has been set, the rule will stop processing
also when the first rule returns a non empty result and return that
result.