Added function to create match and action rule objects based on what's in the config file. This is a work in progress - needs to be refactored.