collect node vectors for given node and rule

Signed-off-by: Andrey Rybalchenko <rybal@microsoft.com>
prepare rule application node vectors

Signed-off-by: Andrey Rybalchenko <rybal@microsoft.com>