Variables Separation in Gravity