Update the rule array to match the new expected format