There is no principle to set the pattern for the -ance and -ence usage, to avoid misspelling words with these endings, one can rely on his memory and familiarity with the words and their correct ending.