Predicting galaxy star formation rates via the co-evolution of galaxies and haloes