Golem and Rhyperior are the best Rock/Ground users.
If you want a Wall that Talonflame and Klefki won't do anything, Stone Edge and Earthquake combo is the solution.
Golem has better Special Defense, Rhyperior has higher Attack and both have the same Defense.
Both can learn Stone Edge and Earthquake.
Rhyperior (M) @ Expert Belt/Life Orb
Ability: Solid Rock
EVs: 4 HP / 252 Atk / 252 Def
Adamant Nature (+Atk, -SAtk)
Stone Edge/Rock Slide
Earthquake
Golem (M) @ Expert Belt/Life Orb
Ability: Sturdy
EVs: 128 HP / 128 Atk / 252 SDef
Careful Nature (+SDef, -SAtk)
Stone Edge/Rock Slide
Earthquake
Both share a great defense, Earthquake for Klefki and Rock Slide / Stone Edge for Talonflame.
Flare Blitz and Brave Bird against those 2 guys will make nothing. Klefki can be a problem because Reflect but Thunder Wave won't affect ground-types.
Some other moves can be the elemental punches.
Stealth Rocks against Talonflame is great to. 50% HP taken off.
Rhyperior
252+ Atk Rhyperior Stone Edge vs. 252 HP / 252 Def Talonflame: 744-876 (206.6 - 243.3%) -- guaranteed OHKO.
252+ Atk Expert Belt Rhyperior Earthquake vs. 252 HP / 252+ Def Klefki: 348-413 (109.4 - 129.8%) -- guaranteed OHKO.
Golem
252+ Atk Expert Belt Golem Earthquake vs. 252 HP / 252+ Def Klefki: 312-370 (98.1 - 116.3%) -- 87.5% chance to OHKO.
252+ Atk Expert Belt Golem Stone Edge vs. 252 HP / 252 Def Talonflame: 797-941 (221.3 - 261.3%) -- guaranteed OHKO.
Hope this helps.