Added rule for UnitCanPerformTask.