Fixed the response to save correct rules