No, the rule should be to love the child, and execute the rapist.
But how much love would your system extend to the child and its victim mother?
Would your system give total free and full healthcare, best education and any necessary provision until adulthood? And how would your system offer support and counsel to the mother?
How much love has your system got?