Added flag permissions
Changed permissions
Resolved merge
Added permission for rule