Add two more filter methods to StatementList

This is basically a loop in a loop. `in_array` does have linear runtime, `array_key_exists` does have constant runtime. Doesn't matter at all when $acceptableRanks is a single value.