void WriteClipsFiltering(ostream& stream)
Writes the database as a CLIPS deftemplate and deffacts file, filtering slots in the facts according to the template definitions (e.g. to reduce the size of the output file by not including irrelevant slots).