The first syllable of usual is pronounced [ju:], as in you, so use "a", not "an", with words that begin with the sound [j]. Other examples,
The rule is a phonetic one. It's based on sound, not what the letter looks like.
If a word begins with a vowel "sound", use an.
If a word begins with a consonant(al) "sound", use a.
Interested in Language