US sharemarkets rallied on Friday with broad-based gains. All 10 primary S&P 500 sectors closed higher. News that General Electric will divest most of its high-risk GE Capital business and also a buyback $50 billion of its shares supported sentiment.