Added functionality for pattern's context definition
Optimalization of pattern specifications
Refactored Enterprise Inventory pattern

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