@Override public void rebind()
{
RuleSet ruleSet = reasoner.ruleSet;
deductions.getBulkUpdateHandler().removeAll();
BindingSink output = new BindingSink()
{
@Override public void consume( Node[] item )
{ deductions.add( asTriple( item ) ); }
private Triple asTriple( Node[] item )
{ return Triple.create( item[1], item[2], item[3] ); }
};
BindingSink input = ruleSet.toCode( reasoner.getHowTo( this ), output );
input.start();
for (Iterator<Triple> it = base.find( Triple.ANY ); it.hasNext();)
input.consume( asBinding( it.next() ) );
}