Adding rule for nested functions.

I'm open to feedback on the wording and examples. 

@kenkouot @hakubo
Fair enough! :-)