Grayson said after the game that their two goals had been a result of their build up to the game. He said: "We have worked on counter attacking this week, which is why we chose to make the change and bring Will Keane into the team. We felt that was a way we could hurt them today and I am delighted with the result.
"It was a hard fought game, as it normally is in a derby match. We knew we had to be competitive, match them, because they are a good team, which is hard working, with goal threats and are one of the favourites to go back up.
"But we did some very good things. As a team we defended very well. You can't limit a team to no chances, because they have some big players, but overall it was very pleasing.
"We suffered the disappointment a couple of weeks ago against Blackburn and we wanted to make sure we didn't experience that again today.
"I am delighted for the players and the supporters as well, who I am sure will be chuffed to bits with that result today."
Burnley boss Sean Dyche was disappointed with the result and also with Kevin Friend's decision not to send off Preston right back Marnick Vermijl after what looked a clear second yellow card and he also rued the fact that we missed chances that otherwise would have seen us win the game.
"The outcome wasn't what we wanted, but I was generally quite pleased with the performance," he said. "You have to be productive and I lost count of the chances we created. Their goalkeeper is man of the match, which is usually a good sign on your attacking play.
"We did give them a really, really soft goal for the first one, but we have to punish teams when we are on top and if you thrown in what I think is an impossible non-sending off for their player for a second yellow card, that's not helpful either.
"It's quite simply a body check. He doesn't go to play the ball at all and I find that impossible that it's not a sending off. I spoke to the ref and he said they have been debating those recently and in his opinion it's not a booking. I find that incredible.
"But I must make it clear we should have taken care of business. We had the chances today, particularly before half time. That was the strongest start we've made to a game all season. I thought we were dominating and they have had to work hard all the game to stay with us."
He added: "You have to take your chances. Today was one that got away and it's smash and grab from them, I think.
"Sam had a few chances and I want my strikers to be in there. I never really knock them for their misses, only if they are not in there to get the chances, but Sam and Andre have had enough chances today and even Joey Barton popped up with a few.
"That's my main disappointment today, but the overall feel, I felt there were some good things again today."