Know where to look for @import rules, and not traverse the whole AST

Using the traverse module was needlessly slow. I didn't know @import
rules where at the top of the AST. A simple loop was enough to find
them.