How to fade texture by height with nodes in cycles?

Hi guys, trying to texture a snowy mountain top with nodes, I followed a tutorial to texture the mountain, but I need the bottom of the mountain to be rocks only. Any pointers as to how to setup nodes for that? I found some nodes setup for ramping a gradient map, but I’m too stupid to figure out how to apply that to textures :frowning:

Thanks for any help!