Add test cases to test combination of allow and deny rules. Modify the generate id method to make sure id is unique.
Add test cases to test combination of allow and deny rules. Modify the generate id method to make sure id is unique.