improve pretty-printer so it can parse own policies
commit the ptrn, action, meta printer for debug use