It doesn't matter if it's rye, oats, or wheat. As long as it is whole grain, it can prevent type 2 diabetes, according to the results of a new study.