Add command define rules