On 16 May, the High Court ruled that the IDF may destroy homes according to their needs; the IDF had pledged that it would refrain from unnecessarily demolishing houses.[9][10] The next day, Israel started "Operation Rainbow".