The rule with a and an is that you use a when the word that follows it starts with a consonant sound, and you use an when the word that follows it starts with a vowel sound. You probably knew that given you used an correctly in your sentence, but I thought I'd mention that for others who may...