Legally Compliant Contracts