The stock market's latest rally capped by a record close for the Dow Jones industrial average reflects growing confidence that two significant obstacles have been cleared: the Federal Reserve and rising energy prices.