rules: fix single file handling

Due to missing seek, the content of the file was incomplete in some
cases.