Implement pf::filter for generating filtering rules in the correct
order.
Merge branch 'filtering'