ServiceImplementation impl = getServiceImplementation();
RulesRepository repo = impl.getRulesRepository();
RepositoryPackageService repositoryPackageService = getRepositoryPackageService();
// get rid of other snapshot crap
Iterator< ? > pkit = repo.listPackages();
while ( pkit.hasNext() ) {
PackageItem pkg = (PackageItem) pkit.next();
String[] snaps = repo.listPackageSnapshots( pkg.getName() );
for ( String snapName : snaps ) {
repo.removePackageSnapshot( pkg.getName(),