U.S. stocks rose on Wednesday as traders digested the latest Federal Reserve policy rate decision and monitored the latest developments in the Middle East.