turn pred rules to map

Signed-off-by: Andrey Rybalchenko <rybal@microsoft.com>
turn pred rules to map from decl to app vector

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