Kelly Rutherford's custody battle with her ex-husband is so hateful ... they're now under a court order to speak politely to each other, and get this -- in certain situations they're legally required to follow a SCRIPT!

Read the whole story at www.tmz.com