add test for FileExt.Match
refactor: rule
refactor: rule
usage