I know I shouldn't really encourage him (or her?) but I throw food out all the time in the back whether its cheese, seed or nuts and I don't mind who eats it... rat, mouse, birds, badger or fox!
The way I see it is the woodland out the back of our house was there before our house was built, so in theory we're trespassing on the rat's property!
And as long as there's plenty of food outside, it means it won't want to come inside! The photos aren't the best but the light was really gloomy (raining again!) so it was the best I could do!