Started implementing linking with VGI...

data
Further developments and testing regarding VGI
Tests
Added json libs
Implemented json encoding for rules
Worked on linking process