This is a bit tricky because it's a place name, and often place names in French are masculine (like Paris, Lyon, etc.). However, Rome is one of the exceptions.
You can tell it's feminine because you would use the feminine definite article "la" before it: la Rome.