I don't think the first example was necessarily rude... he was making a meal just for her, she should let him know while he was shopping what her restrictions are. However, if a group meal has been prepared, by all means you should try to be gracious about it and not expect everyone else to make allowances for your preferences, especially if you don't have any good reason to assume they would be aware of them.