added fix for scope of system call in rule controller and min files as well as import updates to the ad insertion sample.