Added rules and constants for DoCapture.