Based on orthographical rules, the Polish name would be Rżawski, but the only examples I can find of this name are transcriptions from the Russian surname or Ukrainian Ржавський. I think it is far more likely a native Russian habitational surname from Rzhava (see:
https://ru.wikipedia.org/wiki/Ржава_(значения) ).