Adapted presrules XML application to new API

darcs-hash:20090211170149-1e3d8-66656b973654caa3b590311aa96092bda7c5d908