add text filter, etc.
more tests on rules.
bit more test to make 100% coverage.