I think the best would be to get a bit of everything.
My main stock is white rice, brown will not store, and my family don't like white rice, me neither, diabetic, so when rotating I feed them to the birds, and I hope to trap them and eat them if need be.
Next biggest is canned foods which I purchase when they are in a deep discount, like Treet, nobody likes it but it gets real cheap, better than starving. Chef Boyardee, another cheapie.
The thing is with research I found that you can store canned foods WELL past their expiration date, as long as the can is not bulging, and some sources were saying that some canned food from the civil war was still edible.
I also have military rations, they look bulky with all the added assortments, and some canned grains.
For deep emergencies I heard (and have) that peanut butter and honey will last almost forever.
And lastly I have a gun, I'll eat dog and cat if I have too.