1. A method for providing a context-aware service of a user device, the method comprising: receiving a user input, the user input being at least one of a text input and a speech input; identifying a rule including a condition and an action corresponding to the condition based on the received user input; activating the rule to detect a context which corresponds to the condition of the rule; and executing, when the context is detected, the action corresponding to the condition.