ensure that list is an array
Implement pf::filter for generating filtering rules in the correct
order.
Merge branch 'filtering'