\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.8}
%define style
\tikzset{MyAnnotation/.style={draw=blue,ultra thick,rounded corners,font={\color{green}\bfseries}}}
%define command
\newcommand\plotannotation[2][0.4,.6]{\node [red] at (rel axis cs:#1) {#2};}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=10cm]
\addplot {x^2};
\node at (rel axis cs:0.4,0.9) {ABC};
%use style
\node [MyAnnotation] at (rel axis cs:0.4,0.75) {DEF};
% use command