AFL clubs have been given new 20 year licences to operate pokies machines. 