Modified DatalogDependnecyGraphGenerator and QuestStatement to keep only
rules related to the query in the query program (to avoid view no
defined problems)
Updated to head
Fixed small issue of missing bracket