[BZ-1032043] fix CCE in reteoo when using declarative agenda