adding storage for rules