various fixes for mulitple rules per port etc, json config input
example json rules file
minor readme update