A Rewriting View of Simple Typing (Logical Methods in Computer Science, 2013)