Ex-wife who brought false rape charge ordered to pay