conform to (something)
To follow or adhere to a particular set of rules, regulations, or norms. Please be advised that your construction project needs to conform to all building codes.
conform with (something)
To adhere to a specific plan or directions. The playhouse you built can't possibly conform with the instructions—the foundation's all lopsided!
conform to something
to agree with or behave within guidelines or regulations. I hope that your policies will conform to our guidelines. Does my casual dress conform to your regulations?
conform with something
to match or agree with a model, plan, or set of specifications. (Compare this with conform to something.) Does this part conform with the specifications? This one conforms with them quite well.