There are many rules about writing prose fiction. Any creative writing course will drill those rules into you. But don’t be fooled. These “rules” are merely guidelines that help you focus your prose. But they aren’t commandments. I think there is only one real rule so far as prose construction goes:
Rules about writing should be followed, unless they shouldn’t.