SQL implementation of IBuildPurgeRuleRepository