medieval agehan confucianism the philosophers of the han dynasty weaved its own philosophy from strands that included the yin-yang cosmology of the naturalists , the taoist concern for perceiving and harmonizing with the order of nature , confucian teachings on benevolent government , rule by virtuous leaders , and respect for learning , as well as the legalist principles of administration and economic development .