Moved manipulation with domain objects for knowledge base into separated
source files.

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Added missed requirement

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Removed unused functions

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Added support for detector's definition in patterns' records

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Comment changed

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Refactoring: Moved knowledge base functions into separate source file.
Also removed spring configuration for ksession and add function for
creation stateless and statefull ksession

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Removed cross cutting concerns from language source files.
Used hooks and specialized pointcut functions in language for side
effects (database and knowledge base)
Created separated files with specification of patterns' detectors.

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Added new constant for inventory patterns

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Removed no longer used functions

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Added new macro for definition of pattern detectors

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Moved back Canonocal protocol into pattern package

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Change hooke spec into the newest version

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Added test rules for detection o pattern's variant instances

Signed-off-by: selmeci <selmeci.roman@gmail.com>