If I break a rule, will my account be closed?

The short answer is no.

If you were to break a rule, you can restart your current account (Practice or Qualifying session). Your trading statistics will be cleared and therefore you will start from scratch. As an alternative, you can choose to buy a new account and continue with it.