There are lots of wargaming rules for World War 2. These are the ones I play: Crossfire, Megablitz, Rapier Offensive and Engle Matrix Games. One day I might write up my thoughts on the competitors, of which there are many.
I Ain’t Been Shot Mum (IABSM) by Richard Clarke and Nick Skinner, like Crossfire, is a company level set of rules for WW2. I’m not interested in moving from Crossfire but the Two Fat Lardies, the publisher of IABSM, put out some nicely presented scenarios and campaign supplements that I’d like to use. One such supplement is B’Maso! The winds of change wars in Africa and I’m keen to try out some of the ideas. You’ll need those books to make sense of this.
Any small scale Colonial, WWI or WWII set of rules will work for the Rif Wars. Check out Colonial Wargames: Rules or Major General Tremorden Rederring’s Colonial-era Wargames Page: Rules for longer lists of Colonial period rules, but choices include . . .