Scaling of Spontaneous Imbibition in Gas-Liquid-Rock Systems