added location and source information to Java backend Rule
Merge pull request #847 from yilongli/add-loc-and-source-info-to-Java-backend-rule

added location and source information to Java backend Rule