Law firms see shifts in AIM rankings