Fix #336. Relative paths are resolved in rules.
Merge pull request #337 from remy/fix/336-relative-path-with-filter

Relative paths are resolved in rules