Updated rules for archives and temp-files