fix query/4 and addRuleId/1
terror bombing example added
rename example files