That's a great question. I am also interested in the answer. I might add that I was told by a teacher of mine that I didn't have to know that rules. But I've been facing that problem for quite a long period of time. I have some difficulties of pronouncing unfamiliar words and, especially, geographical names.
I'm still wondering if she was right?