Since we cannot provide legal advice, please contact your legal council or work with existing sweepstakes templates. Here is an example:
https://www.priorilegal.com/legal-forms-and-documents/sweepstakes-rules
Also take a look at this site
https://blog.woobox.com/2019/09/social-media-contest-rules-starter-template-example-guide/