This sample rule checks after each completed item if all videos have finished processing. If this is the case iFlicks will then quit.
The rule action script used to do so is:
set allFinished to true
repeat with vid in videos
if status of vid is not Completed then
set allFinished to false
if allFinished is true then
tell application "iFlicks 2"