Fix issue #9937, add CLI support for restore filters via resource policy
