rename global_priorities to global_filters
move filters related code to /filters/ subfolder