Support ordering filter operations

I'm going to a special level of hell :(
> Unification by hand :)

Yeah it was pretty horrible. Figured it was better to do this than trying to get clever when we're about to replace it.