The rectangles are filters or crossovers, and are to prevent low frequencies going to the tweeter and frying it.
The cheaper ones probably just have a protection capacitor built in to the wiring, or soldered directly to the connections on the back.You'd be better off going for a decent set of comps with proper passive crossovers. At least then the drivers will be level matched, and sound good together.