rules.mak: New string testing functions