Fix for rmap rul