You can only set an overall size limit with storage settings.
The storage code does the RLS check on the database, then stores the file to storage, then updates the database with file info metadata. So by the time any sort of meta data is sent to database, it is too late for RLS. (This is based on memory of looking at storage code a couple of weeks ago)