A pensioner has been fined after his actions in putting out large amounts of food for wildlife around Hartlepool attracted rats.