move logrotate rules declarations to separate classes