Managing power grids through topology actions: A comparative study between advanced rule-based and reinforcement learning agents