fix for #2536 make circular dependency problem

makes explicit the file types covered by rules in the python and ruby drivers