Changed ContextGenerator to omit synthetic rules and to omit duplicates ...

...in its list of items to emit