The best food for rats in my opinion is a good quality lab block. It is designed with all of the nutrients they need, specifically for rats, not for dogs.
Harlan and Mazuri lab blocks are good. Check a local feed store or feeder breeder, most pet stores overcharge WAY too much for lab blocks if they even have them. Avoid Kaytee brand which most pet stores carry.