this might interest you Flight envelope protection: better stall prevention based on airspeed and g-load
Probably the first step would be to add a proper negative load factor limit to the code, then we can work out which way would get us back to level faster. ie pitching up at the positive load limit or pitching down at the negative load limit.