When you breed two horses together their offspring will be born at one of two grades. These two possibilities are determined by the parents. It will either match or be one grade higher than the lowest grade parent.
The chance of the grade it can be born at is also determined by the parents. The greater the difference between their grades, the higher the chance that the offspring will be born at the higher of the two grades.