There was a mistake in the del method of the daf modules. The id of the policy rules is not the key for delete the entry in the daf.rules array
See the attached patch
patch