<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def source_files(self):
 """This rule's source files."""

        if 'srcs' in self.params and self.params['srcs'] is not None:
            return util.flatten(self.params['srcs'])