Saudi king pledges women rights, fight against terror