check host against a set of rules