integrate legacy ruleset sample doc