The medieval church and rents from marriage market regulations