Fixed bug in filenamematches rule
Would return a RegexMatches object which always has a boolean value of true.

Fixed to return actual True or False values