use string to identify rules with preds

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