I have experianced that the AI went to peace again after declaring war ( but that is long time ago not sure if it still applies )
AI normaly declare war when you are a neighbor and get below a certain number in popularity ( same with embargo )
What I did, was I gave it cease fire/peace in the diplomatic section - and thereafter I increased my popularity by attacking dreaded nations, and gave other AIs share map or right of way.
It can take a while, and you need to just recieve their attacks ( and perhaps you need again to change to ceasefire/peace when it attacks you with units after the battle is over )
Good luck.