These later Roman pantheistic hierarchies are part literary and mythographic, part philosophical creations, and often Greek in origin.
From where does the practice of linking various gods into grouping come?
Greek in origin