Update and rename rect.h to rect.hpp