The shellfish thing actually makes some sense, I think, in light of the food preservation methods that were available at the time. Likewise with the prohibition against eating pork. I think it was much more about the diseases you could get from certain things if they weren't properly cooked.
no subject