I accidentally deleted rids from server, and then got duplicate errors in client log.
So i made powershell script, which connects to the client computers, stops ossec service, deletes files from client rids directory, and starts the ossec service.
After that, i deleted rids from ossec server queue\rids folder one more time , restarted ossec services on the server, and all the clients synched suscessfully.