Returns a new proto file that omits types, services, extensions, and options not in pruningRules.
pruningRules