Ripple CEO says court ruling offers clarity, XRP gains 5%