The rule applied by the function f(x) is to reverse the characters of the input word.

