Rule validation