fixed phpDoc for magic static calls
added missing phpDoc block for method buildRule