San Francisco Frontiers - Shanghai stocks gain after stimulus briefing as markets rally