Which one is to prevail? Presumably the 10 minutes on presence arrival.
What you can do is use that rule to disable the other rule for 10 minutes. In the presence rule as an action set the Private Boolean of the other rule to false, and also set it to true after a 10 minute delay.
In the timer rule, under Restrictions, select Disable with Private Boolean.
Those two together will stop the timer rule from turning off the light during the 10 minute period.