refactor consonant rule into one line gsub method