add data for rules