1. You call it "The Israeli PM who pushed for a two state solution" (referring to Rabin), but actually there were other PMs who were negotiating a two state solution with the Palestinians and were elected after - Ehud Barak and Ehud Olmert (Ehud Olmert was ten years after the assasination of Rabin).
2. The PM the succeeded Rabin, Ariel Sharon, a long-time right-wing hawk, didn't negotiate with the Palestinians, but did shift Israeli policy to simply leaving the territory without a negotiated settlement. He's the one who pulled Israel out of Gaza, and by all counts, he was poised to do the same and leave the West Bank before he had a stroke.
Olmert, also a historic right-wing hawk, succeeded Sharon, and campaigned openly on the idea of starting to pull settlements out of the West Bank. And he won, with this campaign.
Olmert, btw, to this day is a big peace-advocate, working together with Palestinian partners on trying to bring about a two-state solution. He's also a big critic of the current Israeli government (and famously wrote a piece saying that Israel was committing war crimes in Gaza).
3. Funny enough, another way in which you're technically wrong is that Rabin himself didn't directly advocate for a two-state solution, at least not officially. That was probably his direction, but both Barak and Olmert went much further than him in what they were offering the Palestinian leadership in terms of a deal.
Bonus 4th point: Worth mentioning that calling the person who assassinated Rabin a "right wing Israeli" is pretty wrong too. He was a member of a very extremist right-wing group that did not and does not have any broad support in Israel, as opposed to standard "right wing" positions which do have broad support.