Fix filtering rulesets.
release 0.5.0