Rate theory for one-dimensional diffusion