=== modified file 'rules/reports/rpt_file_list.xml'
--- rules/reports/rpt_file_list.xml	2019-07-26 14:21:50 +0000
+++ rules/reports/rpt_file_list.xml	2019-07-26 17:37:47 +0000
@@ -87,6 +87,7 @@
    <variable name="iter"                type="java.util.Iterator" />
    <variable name="fname"               type="java.lang.String" />
    <variable name="matched"             init="false" />
+   <variable name="srcname"             type="java.lang.String" />
    
    <!-- pipeline of rule-sets to process -->
    
@@ -100,19 +101,18 @@
    <!-- create the list of matches -->
    <rule-set input="tree" >
       <init-rules>
+         <rule>isNote("srcname")
+            <action>srcname = getNoteString("srcname")</action>
+            <action on='false'>srcname = file</action>
+         </rule>
       </init-rules>
       <walk-rules>
-        <rule>!matched and eval(condition)
-           <rule>matched = true</rule>
-           <rule>root.isAnnotation("srcfile")
-              <action>
-                 matchedFiles.add(#(java.lang.String) root.getAnnotation("srcfile"))
-              </action>
-              <action on="false">
-                 matchedFiles.add(file)
-              </action>
-           </rule>
-        </rule>
+         <rule>!matched and eval(condition)
+            <action>matched = true</action>
+            <action>
+               matchedFiles.add(srcname)
+            </action>
+         </rule>
       </walk-rules>
    </rule-set>
    

