Adapted common policy XML application to new API

darcs-hash:20090211165959-1e3d8-172acd9a229771695ec58e4c15697a7a58b1c6fa
Adapted rpid XML application to the new API

darcs-hash:20090211170057-1e3d8-3822fed1850e6b4ad46bdd676e6b97f1ce1efc52