Insights Into Exoplanetary Rock Compositions From Polluted White Dwarfs