Hi,
a square and a rectangle are both subsets of parallelogram. They
require AB to be perpendicular to BC, or CD to be perpendicular to
AD. For a square, AB must be of the same magnitude as BC since all
4 sides are equal.
When Vector AB = vector CD, it just means
1) AB is in the same direction as CD
2) AB has the same magnitude as CD
At the same time, when AB = CD, BC = AD
Hence, we proved it is a parallelogram. However, in no way did
we prove that AB is perpendicular to BC. If it does, we can
consider it a rectangle.