make policy public for gob encode in rpc