Merging rules for creating bad request and rules on generating requests