Original: The former gave social order, while the latter was inspiration for the heart.
Simplified: The rites gave social order and music gave inspiration for the heart.