adding separated test for rules and validator #1

@solojavier please provide feedback