offer AllRules class and allRules() factory