Try to stay at home as long as you can before transferring to the hospital if they won't allow food. But, depending on your labor, you might not want it. So don't worry about it just yet! My labor was so intense that I couldn't eat anything. Liquids were my friends. ;)
I don't feel like eating during labor, but I usually need to eat. It's kind of like running a marathon - very hard to feel like fueling up mid-run, but I know intellectually that if I don't continue to eat and drink, I will run out of gas. So I eat my sports gels and drink my electrolyte replacement fluid dutifully, and I have the strength to keep on moving.
I am the type who doesn't do well without food for long stretches. If I were you, I would simply sneak in some sports gels, energy bars, and some clear drink that has calories, and eat/drink as you need it. In the very off chance that you have to be put under suddenly for a c-section (I understand that this is why the rule exists and that this is necessary very rarely and that even more rarely still are actual complications from aspiration) - have someone ready to tell them that you've eaten a bit.
Statistically speaking, you're much better off fueling your body - it gives you a far greater chance of a labor without complications than does sticking to a hospital's very liability-happy set of rules. That's certainly not a mother friendly rule!