Update: Make rules work with arrow functions (fixes #1508)

This updates a lot of rules to work with arrow functions.