make rules case insensitive