Fix empty mode "NA" for empty iRule;

Fix case sensitive user permission