permit rule applier testing
better permit factory
getting there :P
improve rule registration