(Gilt-Leaf Ruins isn't a spell.)
Gilt-Leaf Ruins enters the battlefield tapped.
,
: Tap target artifact with converted mana cost X or less.
, Pay 1 life, Sacrifice Gilt-Leaf Ruins: Search your library for a Forest or Island card and put it onto the battlefield, then shuffle your library.