Isn't it better to split this to two entries, therefore you following process will be easier.
```
'alarm' : 'com.android.alarm.permission.SET_ALARM',
'alarm.write': 'com.android.alarm.permission.SET_ALARM',
```