Adding captured rules