parse sparql in rules

parse SPARQL commands in a jena rule. These changes allows introduce a
sparql command in a jena rule.