************************************************************************
Overview
************************************************************************
This app demonstrates the integration of Qosmos ixEngine with Qosmos
Rule Engine.

Workflow:
- Creation of rule engine with a specific ruleset (included in rules.json)
- Registration of specific attributes (HTTP Host) with ixEngine
- Injection of packet from input pcap file
- For each registered attribute found in the pcap, inject their value
into the rule engine (with corresponding keyword ID)
- Print flow and rule information if a rule matches for a specific flow

************************************************************************
Installation
************************************************************************
export RE_SDK=/path/to/rule_engine/sdk
(otherwise RE_SDK defaults to DPI_SDK dir)
make: build application
make install: install application in src/bin directory

Notes:
build is dynamic by default.
Set STATIC=1 for static build.
Set DEBUG=1 to get debug info.

************************************************************************
Rules
************************************************************************
For a detailed explanation of how rule definition works, please refer
to the Qosmos Rule Engine developer's manual

************************************************************************
Usage
************************************************************************
./rule_engine_integration <rule_file> <pcap_file>

A pcap file is included for quick testing:
http_get_gif_file_workflow.pcap

A rule file is also included:
rules.json

The LD_LIBRARY_PATH variable can be set as follows from this directory:
$ export LD_LIBRARY_PATH=../../../lib
