Understanding Generalization in the Interpolation Regime using the Rate Function