convert: separate generic structures and variables from the filter specific ones