Original: Its diet would probably have included worms and grubs rather than ants.
Simplified: It would have eaten worms and grubs, rather than ants.