share/rest is gone, remove policy

Promises are failing due to missing source files.

(cherry picked from commit b99e2a375832679a4761c195a07428bcf6c28dd0)