Pep Guardiola has defended his decision to rotate players after Manchester City's 0-0 draw at home to Stoke.