moved LIBALCOMP definition out of the rules