No nails wont bond to the glass.
The rubber isn't particularly fancy, It's only used as a flexible grip.
I would suggest cutting up a bicycle inner tube, wash it well using soapy water to get rid of the chalk.
using no nails or epoxy to glue the rubber to the runner,
if the rubber still isn't gripping the glass, bend the runner channel in so that it is a very snug fit.
Another option is that you could gaffa tape the glass to the runner, wait till I return home after new year then I can strip the runner from one of my spare doors and sell you it!
Cheers
Michael