I would agree with Falonthas and take fighter instead of ranger. Mainly due to fighters having a higher BaB then rangers. Believe me you will need a higher BaB for your Arcane Archer when you reach higher levels. The other thing to look at is, you only get one bonus ability point per every 4 levels. You would be level 16 before you could take ranger. Then you could not take it because Layo requires that you have at least 5 levels in every class once you hit level 20. You would only have 16 wizard and 4 ranger at level 20. So I guess it is fighter now or wait till level 20 and take ranger.
Ironically, due to rangers having access to their own array of spells (like Ranger's Valor which stacks with all other AB spells)... they actually have a higher AB than fighters.