Enhance external rules example scripts