Add rect class