Stocks rise as China announces economic stimulus package