//Map<LeftTuple, Integer> tuples = context.terminalTupleMap;
if ( entries.length != 0 ) {
for ( Entry<LeftTuple, Integer> entry : entries ) {
if (entry.getKey().getActivation() != null) {
LeftTuple leftTuple = entry.getKey();
stream.writeShort(PersisterEnums.ACTIVATION);
writeActivation(context, leftTuple, (AgendaItem) leftTuple
.getActivation(), (RuleTerminalNode) leftTuple
.getLeftTupleSink());
}
}