Created arrays to specify rules