Rename file rule-ext-check.sh so that it itself does not match the general rule pattern rule-*.<ext>
rule-ext-check.sh
rule-*.<ext>