Sorry Evgeny but I haven't managed to get any valuable information on this rule to understand how useful this rule is. Do you have any url to provide ?
Simply - function declarations within blocks is not a part of standard. Parser was relaxed to be able to parse such code, because such code exists in a real life projects on which I tested plugin.
Freddy, I added description to the rule - could you please check it?
Manually tested !