sketching to return a rule collection as factory produce