Those grounded in sattva worship the gods. Those moved by rajas worship yakshas and rakshasas. Others, the people sunk in tamas, worship departed spirits and troops of elemental beings, including the band of mother-goddesses and such. So, where the scriptural rule has been set aside, one's standing in sattva and the rest is settled by what one worships. Among thousands, only a rare person is devoted to worshipping the gods and grounded in sattva; for the most part beings are grounded in rajas or in tamas.
Contemporary English rendering of the Sanskrit bhāṣya, pending scholar review.