That is not the rectifier it is the voltage regulator. The voltage regulator has a yellow/white wire thet plugs into a single bullet socket also yellow/white. It also has a black wire that is secured using a ring terminal around the regulator mounting bolt, this black plugs into one of the black sockets in the pair you mentioned, the black from the battery negative plugs into the other.
The other yellow is for the brake switch. Its a bullet socket at the brake switch and bullet plug on the loom