Thanks for the comment!
The only rule is that same color object repel each other while different color objects attracts each other. But because arrows need to dealt with in a different way than stars (repel vs attract) that confusion might arise. It's good that you pointed it out that it feels complex. I was trying to keep the game relatively simple so I might need to think some ways to make it easier for the player.
For the rotation buttons, I did not have time to get them to work correctly so I left it out from the jam version as controlling with keyboard is arguably easier anyway.