added file matching rule support (+regex)