The best way to get rid of rats is to get the pest control people in to do a proper job.
Also keep feed in rodent proof bins.. and don't have any spilled feed on the floor..... Keep everything clean and have the chicken feeder out of reach of the rats and only feed enough so your birds are not...