Well, I don't know whether it's right, but it certainly has an exception if it is
wretched : /retʃɪd/
retched [past simple of 'retch' = vomit] : /retʃt/
I think the rule only applies to the simple past of verbs. But rules aren't my strong point.
Student or Learner