Give derived files a lower priority in mapping rules.

Change-Id: Ic8986044c7e10186d7e1d369daeade840cf21adf