Compare filters

This pull request adds the possibility to generate compare filters for fields. It supports the operations 'less', 'lessEqual', 'greater' and 'greaterEqual'