Added ad hoc rules example