added builder for rule