[rules-dev] Cherry picking with git from master to 5.2.x branch