Rand, JSE surge on signs of moderating inflation in US