replace hardcoded ruleset wit config version.