How did Taizu get his military rivals to stop fighting, paving the way for the Sung dynasty?

He gave gifts.
He promoted trade.
He provided proper defense.
He provided religious teachings.