Some m_functions complete, and testing funcs

addAll - For adding to the rules_all table
removeAll - For removing from the rules _all table
test_addAll and test_removeAll to test the previous funcs