Reuse the rules variable

Change-Id: I8ce666dad712a99e471930132e3d123dfcf5466d
Merge "Reuse the rules variable"