Enhancing filters to support argument filtering.

Future work will add additional builtin macros, operators, etc.

Fixes #330.