DEV-28 - delay rule sample code - more fixes