Hello Sameer,
the error is your second statement, if you think for a moment, this is always true:
((rcpt-to != 'internal1.local') OR (rcpt-to != 'internal2.local'))
You need to use AND to make it working
((rcpt-to != 'internal1.local') AND (rcpt-to != 'internal2.local'))
BTW, another way to check for IPs is to create a sendergroup with the servers you want to enforce this filter with, and then match on the sendergroup rule rather than a list of IPs. This way the filter becomes easier to mantain, as you can add and remove IPs in the sendergroup on the GUI without changing the filter.
Hope that helps,
Andreas