solve rule checking, add default action rule