This can't be done via packagizer because the rules don't have access to anything else but the link itself. You could try to use the eventscripter, see
https://board.jdownloader.org/showthread.php?t=70525 or ask mgpai for help. He's our script master.