In a statement , Mr. Museveni promised the safety of Joseph Kony if his rebel group stops fighting by the end of July .