Wall St rallies, led by tech and energy