I don't know who invented the don't eat before sleeping rule, but
it sounds dumber than the don't eat before swimming rule.  (Ask a
lifegaurd, the rule is a myth).  I make sure I get a lot to eat before
going to bed so that I can not be a raving lunitic when I wake up.