It is not easy to find a simple mnemonic rule to discriminate upper/lower case meaning of commmands. In general lower case means after or forward, while upper case means before or backward with p and o commands. The contrary is true with x (delete current) and X (delete backward from current). Finally i means before and a means after, while I means BOL and A means EOL.