Reorder code for printFileHeader
Update LINK_AR rule