Do not resolve fact destructuring symbols

When parsing the lhs of rules and queries, do not resolve symbols that come
from the fact destructuring.

When parsing the rhs of rules, do not resolve symbols that come from the fact
bindings.