Stock markets rally as HDFC Bank