Revert back to access code as internal representation

eaf908f changed internal representation of access type from integer to string:

- bad format for merging rules (no way to do bitwise operations)
- space consuming format
- there was no any logical reason to change the format