Sri Lanka rupee gains, stocks rally on JKH foreign selling