To complement Belisarius’s answer,
x /. g
with g = {{x -> 1}, {x -> 2}} , returns a list
{1, 2}
So, to extract the first value, 1 , we could use
First[x /. g]
Other alternatives
x /. g[[1]] (x /. g)[[1]] (* this is equivalent to the version using First *) g[[1,1,2]]
Simon source share