Filters for the codegen parser

This PR deletes an, AFAICT, unused test for "is FilterExpression".  It also cleans up the code-gen code (no more FilterCode).

Please take a look if I've missed something here.