Polarization rotator Bragg grating assisted wavelength selective polarization alignment