The search for different life forms elsewhere in the universe is a fascinating area of research in astrophysics and astrobiology. Currently, according to the NASA Exoplanet Archive database, 3876 exoplanets have been discovered. The Earth Similarity Index (ESI) is defined as the geometric mean of radius, density, escape velocity, and surface temperature and ranges from 0 (dissimilar to Earth) to 1 (similar to Earth). The ESI was created to index exoplanets on the basis of their similarity to Earth. In this paper, we examined rocky exoplanets whose physical conditions are potentially suitable for the survival of rock-dependent extremophiles, such as the cyanobacteria Chroococcidiopsis and the lichen Acarospora. The Rock Similarity Index (RSI) is first introduced and then applied to 1659 rocky exoplanets. The RSI represents a measure for Earth-like planets on which physical conditions are potentially suitable for rocky extremophiles that can survive in Earth-like extreme habitats (i.e., hot deserts and cold, frozen lands).