Welcome! There's a complete factory manual for your Rogue here, you'll find the headlight systems here in the EXL section:
https://www.nicoclub.com/service-manual ... %2FEXL.pdf
The HID's on the gen1 Rogue were "dumb" units using +/- connections just like a halogen. The low beam connectors differ, but replacing them with halogen connectors from the JY is all you should need for conversion. The xenons also had an aiming system with a 4-position height switch, but there's no smartwork in the setup and you won't get codes by eliminating it.
You do have one other option, which is to replace the xenon bulbs with LED conversion bulbs. The only one of my three favorite manufactures that makes them is VLED, GTR Lighting and Diode Dynamics don't make D2 conversions. There are a lot of cheap kits out there from Lasfit and others, but with LED's the heat-sinking is crucial and cheap stuff rarely lasts. The VLED set is $200, but my customers' experiences and that of others here in the forum using VLED has been excellent. You'll probably pay that much for a decent set of headlight assemblies even on eBay, so I'd consider LED's a good option.
https://www.vleds.com/micro-extreme-d2s.html