Rules of origin: Why are Percy Pigs a headache for M&S?

Rules of origin are a key part of the UK’s trade deal with the EU. What are they?