Ruling shields AOL on 'hostile code'