Rate Equations for modeling dispersive nonlinearity in Fabry-Perot semiconductor optical amplifiers