Think of it in terms of "not hitting the ground!" Gradient is the means to avoid terrain (or achieves minimum SID levels etc) whereas Rate gets you to more efficient or useful levels quicker, assuming that the gradient it gives is adequate to avoid terrain. If not, adjust speed to achieve the gradient required and accept the prolonged climb period. As they say "better to be late in this life than early into the next!"