refactor vowel rule into one line sub method