Also use correct compare types for l7 rule of file type Change-Id: I68ab95fbd197f9621bdb0f770a6f7d50918b7a91