Data Structure for Dict/Rules