mixed difficulty

How did Confucianism influence government bureaucracy during China's Song Dynasty?