If it's one unit then store it as a variable to keep track of it. If it's multiple units then add them to a Unit Group to keep track of all of them.
For one unit:
Events:
Every 0.10 seconds
Actions:
Set variable Health = The current percentage of your unit's life
If Health <= 50% and level of Armor Bonus not equal to 1 then do
Add ability Armor Bonus to your unit
Add ability Damage Bonus to your unit
Else if Health >50% and level of Armor Bonus equal to 1 then do
Remove ability Armor Bonus from your unit
Remove ability Damage Bonus from your unit
-------------------------------------------------------------------------
For multiple units:
Events:
Every 0.10 seconds
Actions:
Pick every unit in Health Unit Group and do
Set variable Health = The current percentage of picked unit's life
If Health <= 50% and level of Armor Bonus not equal to 1 then do
Add ability Armor Bonus to picked unit
Add ability Damage Bonus to picked unit
Else if Health >50% and level of Armor Bonus equal to 1 then do
Remove ability Armor Bonus from picked unit
Remove ability Damage Bonus from picked unit
--------------------------------------------------------------------------
Armor Bonus and Damage Bonus would be based on the Claws of Attack bonus damage and Ring of Protection bonus armor abilities. You could also use a Dummy Unit to cast Inner Fire on your unit to add Armor and Damage. Although, it would be dispellable since it's a buff.