Make parent_rule null instead of empty array