file custom rule manager