Add rules for anonymous functions and function expressions