(Sacred Ruins isn't a spell.)
When Sacred Ruins enters the battlefield, sacrifice it unless you pay 1 life.
,
: Tap target artifact with converted mana cost X or less.
: Add
to your mana pool. If you played a land this turn, Add
to your mana pool instead.