some improvements in java backend strategy rule iterators
Merge pull request #999 from osa1/java-backend-refactoring

some improvements in java backend strategy rule iterators