Updates rules