dynamic ruleset loading for python