Add position capture to number rules