Rectangular Rare Earth Magnets