7821 multiple rule targets

Added new rules engine to add functionality to deal with multiple field targets.