updated Rules module