impstats: initial shot at multi-ruleset support