fixing warning
bag problem
changing list heat rules to strict rules
changing types context
fixing warning
adding comments
Merge pull request #15 from liyili2/java_rewrite_engine2

Java rewrite engine2
Merge pull request #16 from dwightguth/java_rewrite_engine

Java rewrite engine
Merge remote-tracking branch 'upstream/java_rewrite_engine' into java_rewrite_engine