mom and boyfriend problems!!

Hi! So I'm 21 and my SO is 22 going to 23 soon, my mom is strict when it comes to house rules and I respect those rules now that I'm mature enough, the thing is that a few hours ago he came for some buzzinnes and he was near my house so I kind of got mad because he did not told me but I let it pass out because if he was close and I wanted to see him I would obviously would let him come out to my moms house, she was here and she haves an stupid rule (I said stupid because for me it's like that) anyways the rule is that whenever she's not here I can't let him come, she told me she was leaving the house, he was going to stay for some minutes because he need to left to work, he was eating with me at the table kitchen , my mom was in her room and she texted me to tell him to left because she was going out, so I told him in a kind way while he was eating and he got mad and he left. She doesn't like him for how he looks (he has long hair and tattoos) and every time he comes I make sure to let her know and she is always mad and is not kind, he has always been open up to talk with her because we are serious about the relationship, I don't know if I'm wrong for disobeying that "rule" anyways I don't see nothing wrong with him being here with me and house alone I respect my moms rules and I won't fuck with him in this house (because I'm 100% sure that, that's what she's afraid of). Note: I lied to her in my old relationship, because one day he came to my moms house and she was not here, but she is so overprotective and I did it because she never let me hang out with him, the dates were always on here or his house but when his mom was there, I was 17 so I was a teen and it did not bothered me anyways because I was still a young girl, and the second lie was a few weeks ago when I told her I was going out with my boyfriend (we went to his house) and I lied to her telling her we were eating in some places, I decided to be honest yesterday when we had a deep talk, I told her I lied and that in fact we had sex, I never wanted to tell her because she always calls me whore, bitch, and if I go out I will end up being a drug addict so I was scared that she would treat me in a bad way and stopped me from going out. We don't have a good relationship.
I know it's a long story but I need help am I the one who is not doing good or it's her being too dramatic. What I think is that she does not trust me and I'm trying to be honest with her because I don't like lies :(