An image viewer that
Can display (the embedded JPG inside) RAW files.
Supports rating images and can write the ratings into the files.
Does not need to "import" the images.
I don't know any. Shotwell requires images to be imported and Geeqie cannot write the ratings into the file (as far as I can tell). Gthumb cannot display the preview JPG in a RAW file.