Add support of multiple rules