allow add default rules in options. add promise support.