Here's how we know:
* Rb represents the element Rubidium.
* I represents the element Iodine.
* Since Rubidium is a metal and Iodine is a non-metal, they form an ionic compound.
* In ionic compounds, the metal element is named first, followed by the non-metal element with the ending changed to "-ide".