Determining star-formation rates in Active Galactic Nuclei hosts via stellar population synthesis