The rule applied by the function seems to be removing the vowels from the input word.

