Mumbai, Oct 21: Equity benchmark Sensex rallied over 400 points and the Nifty topped the 12,000 mark in opening trade on Wednesday tracking strong buying sentiment in index majors HDFC twins, ICICI Bank and Reliance Industries amid positive cues from global markets.