Converting ifconfigs into policy

- Add defines for configuration strings
- Add config to policy converting functions
- Change add policy functionality