Update file rules