Added highlight_rect method.