Stubbed out generating arbitrary filter (via strings).
String => Filter.
Refactored.
Wrote test for rewriteFilter
Wrote some more tests.
Fiddling with tests.
Deleted dead code.
More tests.
Tests pass.
Applied rewriting in query planner.
Adding arbitrary filters to FilterTest.
Fixed FTA issue with Intervals.
Some tweaks yo.
FilterTest might generally pass.
Quick.