Update rules file
Cleanup logs