OpenFlow rules generator