Refactoring rake task :frequent_level_sources.