Rule context validation added.