The 'an' rule for 'historic' is related to historical pronunciation trends. Particularly in Britain, but even in the US if you go back a bit further, it used to be common in certain dialects to not pronounce the 'h'. The choice of 'a' vs 'an' reflected that trend: