Add array indexing rule