I don't think Rhyperior is that amazing in UU because of its low spedef, but if you have your heart set on using it, run stealth rock, specially defensive, dual STAB in rockblast/stone edge and earthquake, + ice punch for gliscor because your attack stat is actually good. Use the ability solid rock to eat earthquakes from gliscors.
Rhyperior @ Leftovers
Ability: Solid Rock
EVs: 252 HP / 4 Atk / 252 SpD
Careful Nature
- Stealth Rock
- Earthquake
- Rock Blast
- Ice Punch
This lets you eat special hits as well as you can, tank EQs, get up rocks, and beat gliscor.
0 Atk Gliscor Earthquake vs. 252 HP / 0 Def Solid Rock Rhyperior: 126-148 (29 - 34.1%) -- 98.6% chance to 4HKO after Leftovers recovery
76 Atk Gliscor Earthquake vs. 252 HP / 0 Def Solid Rock Rhyperior: 135-159 (31.1 - 36.6%) -- guaranteed 4HKO after Leftovers recovery
4 Atk Rhyperior Ice Punch vs. 252 HP / 252 Def Gliscor: 200-236 (56.4 - 66.6%) -- guaranteed 2HKO after Poison Heal(phsdef gliscor is not a set, I just wanted to show you how reliably it Kos)