If a rule or detail is written into a contract, law, or agreement, it is included in it when the contract, law, or agreement is made.
They insisted that a guaranteed supply of Chinese food was written into their contracts...
I didn’t write that into the rules but I don’t think it’s a bad idea.
PHRASAL VERB: be V-ed P n, V n P n