STArray and associated optimization rules