You can connect either way, the bridge rectifier is symmetrical. When connected to DC it only conducts in one direction rather than both as when connected to AC.
Yes, the 6 wires are for the encoder, connect as shown in the manual. And I hope you have better luck finding a manual for that motor than I did.