add rule and test