The XS650 uses brushes, the XS400 doesn't. It looks ok to me. The 3 whites from the stator to the reg/rec, the green to one side of the field coil, ground the other side.
The reg/rec reads battery voltage on the brown wire. If low it sends power out the green wire to field coil. If too high it doesn't send power.
Leo