first of do not use rat poison inside a house, the rats will eat the poison and die inside the house( maybe inside walls) and make a stink like a dead body for months to come. I have head of many instances of mice or rats eating through plastic pipe. pex, abs,
I would suggest your big problem is the rats on the pipe. so go and buy several rat traps, load the with peanut butter and check daily.