The rule applied by the function is to reverse the input word.

